package com.mustafaiev.tair.autobase.worker;

/**
 * @author Tair Mustafaiev
 * 
 */
public class Worker {

	private int id;
	private int positionId;
	private String name;
	private String surname;
	private String email;
	private String password;
	/**
	 * Attribute block is needed for activation or disactivation worker
	 */
	private int block;

	/**
	 * @param id
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return int id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param positionId
	 */
	public void setPositionId(int positionId) {
		this.positionId = positionId;
	}

	/**
	 * @return int positionId
	 */
	public int getPositionId() {
		return positionId;
	}

	/**
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return String name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param surname
	 */
	public void setSurname(String surname) {
		this.surname = surname;
	}

	/**
	 * @return String surname
	 */
	public String getSurname() {
		return surname;
	}

	/**
	 * @param email
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * @return String email
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * @param password
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * @return String password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param block
	 */
	public void setBlock(int block) {
		this.block = block;
	}

	/**
	 * @return int block
	 */
	public int getBlock() {
		return block;
	}
}
